extends layout

block content
  include includes/navbar.pug
  h1 图片分享
  .form-group.row
    .col-12.col-md-8
      .row
        each image in images
          a.col-6.col-md-4(href=`/images/show/${image._id}`)
            .card
              img.card-img-top(src=`/uploads/${image.diskfilename}`, alt=image.description)
              .card-body
                p.card-text= image.title
    .col-12.col-md-4
      include includes/stats.pug
      include includes/comment.pug
  block footer
    .mx-auto(style='text-align:center') Design By Soft163--林王未